package com.example.train.eurekaprovide.figen.fallback;

import com.example.train.eurekaprovide.figen.JobFigen;
import com.example.train.eurekaprovide.entity.Job;
import org.slf4j.LoggerFactory;

import org.slf4j.Logger;
import org.springframework.stereotype.Component;

@Component
public class JobFigenBack implements JobFigen {

    private static final Logger logger = LoggerFactory.getLogger(JobFigenBack.class);

    @Override
    public Job getJobInfoById(String id) {
        logger.error("远程调用过程失败, ID: {}", id);
        return null;
    }
}
